package com.comcast.core.eeg.eventsubscription.types;

public class RetrievalResult extends com.comcast.core.eeg.types.Result
		implements java.io.Serializable {
	private static final long serialVersionUID = 1L;

	public RetrievalResult() {
		super();
	}

	public RetrievalResult(java.lang.Boolean succeeded) {
		super(succeeded);
	}

	public RetrievalResult(java.lang.Boolean succeeded,
			com.comcast.core.eeg.types.BusinessEvent[] events,
			com.comcast.core.eeg.types.ErrorMessage[] errors) {
		super(succeeded, errors);
		this.events = events;
	}

	public RetrievalResult(RetrievalResult otherBean) {
		this(otherBean.getSucceeded(), otherBean.getEvents(), otherBean
				.getErrors());
	}

	private com.comcast.core.eeg.types.BusinessEvent[] events;

	public com.comcast.core.eeg.types.BusinessEvent[] getEvents() {
		return this.events;
	}

	public void setEvents(com.comcast.core.eeg.types.BusinessEvent[] events) {
		this.events = events;
	}

}